Using useState() to populate Input not working properly

welcome to shbcf.ru